import 'package:flutter/material.dart';
import 'package:xindong/common/xindong_sezhi.dart';
import 'package:xindong/models/user/xindong_kongjian_user.dart';
import 'package:xindong/routes/userspace/view/xindong_kongjian_title_container.dart';
import 'package:xindong/widgets/xindong_tags_view.dart';

class XinDongKongJianInfoSlogan extends StatelessWidget {
  final XinDongSpaceUser model;

  const XinDongKongJianInfoSlogan({super.key, required this.model});

  @override
  Widget build(BuildContext context) {
    if (model.slogan == null || model.slogan!.isEmpty) return const SizedBox();
    return XinDongKongJianTitleContainer(
      title: '个性签名',
      children: [
        Text(model.slogan!, style: const TextStyle(fontSize: 15, color: DZColors.contentColor)),
      ],
    );
  }
}
